package androidserver.exceptions;

public class MyJSONException extends Exception {
	private static final long serialVersionUID = -8041115060388762110L;

	public static final String IMG_ERROR = "Server: Could not process input image.";
	public static final String IO_ERROR = "Server: IO error.";
	public static final String PUT_ERROR = "Server error.";
	public static final String REQUEST_ERROR = "Server: Request error.";

	public static final String RMI_ERROR = "Server: RMI error";
	
	private String  message;
	
	public MyJSONException(String msg) {
		message = msg;
	}
	
	public String getMessage(){
		return message;
	}

}
